﻿using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Reflection;
using IDAL;
using Model;

namespace BLL
{
    public class ProductType_Airtightness : BaseService<ProductType_AirtightnessInfo>
    {
        private static readonly IProductType_Airtightness dal = DALFactory.DataAccess.CreateProductType_Airtightness();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<ProductType_AirtightnessInfo> ProductType_Airtightness_GetbyPID(string productTypeID)
        {
            return dal.ProductType_Airtightness_GetbyPID(productTypeID);
        }

        public ProductType_AirtightnessInfo ProductType_Airtightness_GetbyPIDCHNO(string productTypeID, int channelNO)
        {
            return dal.ProductType_Airtightness_GetbyPIDCHNO(productTypeID, channelNO);
        }
    }
}
